
%%%%%%%%%%%%%%%%%%%%%%%%%% TEST ECHANGE DE DONNEES %%%%%%%%%%%%%%%%%%%%%

%Objet Socket
% SocketClientForSMA(port,host);

socket = SocketClientForSMA(2002,'localhost');

for i=1:100
    disp(i)
    speed1 = 5*rand();
    speed2 = 5*rand();
    angle1 = 5*rand();
    angle2 = 5*rand();
    cmd = socket.updateD(speed1*10,angle1,speed2,angle2);    
end
